package com.anolesoft.yr.mbus.pre.service;

import com.anolesoft.yr.mbus.pre.dto.PrePromoteDeleteDTO;
import com.anolesoft.yr.mbus.pre.dto.PreVisitDeleteDTO;
import com.anolesoft.yr.mbus.pre.dto.PreVisitSaveDTO;
import com.anolesoft.yr.mbus.pre.dto.PreVisitUpdateDTO;

import java.util.List;
import java.util.Map;

public interface PreVisitService {

    //新增拜访客户记录
    String savePreVisit(PreVisitSaveDTO preVisitSaveDTO) throws Exception;

    //修改拜访客户记录
    String updatePreVisit(PreVisitUpdateDTO preVisitUpdateDTO) throws Exception;

    //删除拜访记录
    String deletePreVisit (List<PreVisitDeleteDTO> preVisitDeleteDTOList) throws Exception;

    //根据主键查询拜访记录唯一数据
    Map<String, Object> queryPreVisitByUid(String uid) throws Exception;

    //查询拜访客户记录
    Map<String, Object> queryPreVisitAll(String visitTime, String clientName, String salesPerson, int page, int limit) throws Exception;

}
